import request from "../request";

export const pieGet = async () => {
  let res = await request.get("/classes/Chart");
  console.log("图表数据", res);
  return res.data.results[0].pie; //必须return数据后，调用startGet的页面才能拿到数据
};
